package org.spring.springboot.app.hard.hardlog.dao;

import org.spring.springboot.app.hard.hardlog.domain.po.HardLogPO;
import org.spring.springboot.app.hard.hardlog.domain.vo.HardLogCountVO;
import org.spring.springboot.app.hard.hardlog.domain.vo.HardLogFlowVO;
import org.spring.springboot.app.hard.hardlog.domain.vo.HardLogNumberVO;
import org.spring.springboot.app.hard.hardlog.domain.vo.HardLogVO;

import java.util.List;

public interface HardLogDao {
    int deleteByPrimaryKey(String id);

    int insert(HardLogPO record);

    int insertSelective(HardLogPO record);

    HardLogPO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HardLogPO record);

    int updateByPrimaryKeyWithBLOBs(HardLogPO record);

    int updateByPrimaryKey(HardLogPO record);

    List<HardLogVO> findGraphical(String officeId);

    List<HardLogCountVO> findCount(String officeId);

    List<HardLogNumberVO> TotalNumber(String officeId);

    List<HardLogFlowVO>  findFlow(String officeId);
}